package com.kingdee.eas.custom.bases;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class InfoSystemFactory
{
    private InfoSystemFactory()
    {
    }
    public static com.kingdee.eas.custom.bases.IInfoSystem getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.custom.bases.IInfoSystem)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("1BE4FE2E") ,com.kingdee.eas.custom.bases.IInfoSystem.class);
    }
    
    public static com.kingdee.eas.custom.bases.IInfoSystem getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.custom.bases.IInfoSystem)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("1BE4FE2E") ,com.kingdee.eas.custom.bases.IInfoSystem.class, objectCtx);
    }
    public static com.kingdee.eas.custom.bases.IInfoSystem getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.custom.bases.IInfoSystem)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("1BE4FE2E"));
    }
    public static com.kingdee.eas.custom.bases.IInfoSystem getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.custom.bases.IInfoSystem)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("1BE4FE2E"));
    }
}